import http from '@/common/request'

// 查询量化规则
export function listRule(query) {
  return http.request({
    url: '/quantify/rule/list',
    method: 'get',
    data: query,
	needToken: true
  })
}

// 保存量化考核
export function addStudent(data) {
  return http.request({
    url: '/quantify/student',
    method: 'post',
    data: data,
	needToken: true
  })
}


// 查询量化考核
export function myStudent(query) {
  return http.request({
    url: '/quantify/student/my',
    method: 'get',
    data: query,
	needToken: true
  })
}


// 查询量化考核
export function listStudent(query) {
  return http.request({
    url: '/quantify/student/list',
    method: 'get',
    data: query,
	needToken: true
  })
}
